import commonjs from '@rollup/plugin-commonjs'
import { nodeResolve } from '@rollup/plugin-node-resolve'
import json from '@rollup/plugin-json'
export default {
  input: 'src/index.js',
  output: {
    file: 'dist/index.js',
    format: 'iife',
    name: 'AS',
  },
  //   plugins: [commonjs(), nodeResolve({ browser: true }), json()],
  plugins: [nodeResolve()],
}
// https://rollupjs.org/configuration-options/#output-globals
